// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}
// button
.el-button{
  border-radius: 3px;
  &--primary{
    background-color: $mainColor;
    border-color: $mainColor;
  }
}
.header {
  // input
  .el-input__inner {
    border: none;
  }

  .el-input-group__prepend,
  .el-input-group__append {
    background-color: $whiteColor;
    border: none;
  }
  .el-input-group__prepend {
    width: 95px;
    padding: 0;
    
    

    .el-input__inner {
      text-align: center;
    }
  }
  .el-input__suffix{
    right: 0;
  }
  .el-input--suffix {
    .el-input__inner {
      padding-right: 0;
      padding-left: 5px;
    }
  }
  .el-select {
    margin: 0;

    .el-input--suffix {

      .el-input__icon {
        width: 20px;
      }

      .el-input__inner {
        padding-left: 15px;
        padding-right: 20px;
      }
    }
  }

  .el-badge__content{
    border-color: #E9433A;
    &.is-fixed.is-dot{
      right: 8px;
      top: 5px;
    }
  }
}
.bell-dropdown {
  .el-dropdown-menu__item{
    color: $textColorDark;
  }
  .el-dropdown-menu__item:focus,
  .el-dropdown-menu__item:not(.is-disabled):hover {
    background-color: $whiteColor;
    .title-name {
      color: #3C4353;
    }
    h4{
      color:$textColorDark;
    }
    p{
      color: $textColorBase;
    }
  }

}
// 下拉
.el-popper[x-placement^=bottom] {
  margin-top: 0;
}

.notice{
  .el-pagination__jump {
    margin-left: 0 ;
  }
}

.auth{
  .el-step__head{
    &.is-process {
      color: #fff;
      border-color: $mainColor;

      .el-step__icon {
        background-color: $mainColor;
        box-shadow: 0 0 6px rgba(17, 130, 251, 0.8);
      }
    }
    &.is-success {
      color: $mainColor;
      border-color: $mainColor;

      .el-step__icon {
        background-color: #E8F1FF;
        box-shadow: 0 0 6px rgba(17, 130, 251, 0.8);
      }
    }
    
  }
  .el-step__title{
    &.is-success {
      color: $mainColor;
    }
  }
  .map {
    .el-input-group__prepend {
      background-color: #fff;
    }
  }
  .el-dialog__header {
    border-bottom: 1px solid $borderColor;
  }
  .el-dialog__body{
    padding-top: 10px;
  }

  .el-form-item__content{
    margin-left: 0 !important;
  }
}

.chat-wrapper{
  .el-row,
  .el-col{
    height: inherit;
  }
}
.msg-dropdown-menu{
  padding: 0;
  .el-dropdown-menu__item{
    padding: 0;
    &:hover{
      background-color: transparent;
    }
  }
}
.order-list{
  /* 订单列表文字提示处理 */
  .el-tooltip__popper.is-light.tips {
    color: #F75757;
    background: rgba(255, 251, 244, 1);
    border: 1px solid rgba(247, 87, 87, 1);
  }

  .el-tooltip__popper.is-light.tips .popper__arrow {
    border-top-color: #F75757 !important;
  }

  .el-tooltip__popper.is-light.tips .popper__arrow::after {
    border-top-color: rgba(255, 251, 244, 1) !important;
  }
}
.el-loading-mask{
  z-index: 1000;
}
// 商品添加界面的提示
.el-tooltip__popper.is-dark.message {
  width: 450px!important;
}